package com.ssy.lingxi.open.api;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 开发api服务启动类
 * @author jw.chen
 * @version 2.0.0
 * @date 2021/10/12
 */
@EnableAsync
@ComponentScan(basePackages = {"com.ssy.lingxi"})
@EnableDiscoveryClient
@SpringBootApplication
public class OpenApiServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(OpenApiServiceApplication.class, args);
    }
}
